package com.edgarli.detail.mapper;

import java.util.List;
import com.edgarli.detail.domain.TExpenditure;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 家庭支出Mapper接口
 * 
 * @author ruoyi
 * @date 2023-02-24
 */
public interface TExpenditureMapper  extends BaseMapper<TExpenditure>
{
    /**
     * 查询家庭支出
     * 
     * @param expenditureId 家庭支出主键
     * @return 家庭支出
     */
    public TExpenditure selectTExpenditureByExpenditureId(Long expenditureId);

    /**
     * 查询家庭支出列表
     * 
     * @param tExpenditure 家庭支出
     * @return 家庭支出集合
     */
    public List<TExpenditure> selectTExpenditureList(TExpenditure tExpenditure);



    /**
     * 删除家庭支出
     * 
     * @param expenditureId 家庭支出主键
     * @return 结果
     */
    public int deleteTExpenditureByExpenditureId(Long expenditureId);

    /**
     * 批量删除家庭支出
     * 
     * @param expenditureIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTExpenditureByExpenditureIds(Long[] expenditureIds);
}
